<ion-view title="" hide-nav-bar="true">
    <ion-header-bar class="bar-positive">
        <h1 class="title">
            {{'account_page_title'|i18ng}}
        </h1>
    </ion-header-bar>
    <ion-content class="padding-top stable-bg">
        <div id="profile-bg"></div>
        <div id="profile-content">
            <div id="profile-info">
                <img id="profile-image" ng-src='{{avatarUrl}}' ng-click="takePhotoActionSheet()">
                <button class="button button-clear button-balanced icon ion-ios7-camera-outline" ng-click="takePhotoActionSheet()"></button>
                <h3 id="profile-name">{{name}}</h3>
            </div>
            <ion-list>
                <ion-item class="item-icon-right assertive">
                    {{'account_page_email'|i18ng}}
                    <span class="item-note">{{email}}</span>
                    <i class="icon ion-ios7-email-outline"></i>
                </ion-item>
                <ion-item class="item item-icon-left item-icon-right" ng-click="logout()">
                    <i class="icon ion-man"></i> {{'account_page_logout'|i18ng}}
                    <i class="icon ion-log-out"></i>
                </ion-item>
            </ion-list>
    </ion-content>
</ion-view>
